﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Modules.stats.trackers {
    import Engine.Managers.*;
    import flash.utils.*;

    public class MarketSessionTracker {

        private var m_startTime:Number;
        private var m_itemCount:Number;

        public function MarketSessionTracker():void{
        }
        public function startSession():void{
            this.m_startTime = getTimer();
            this.m_itemCount = 0;
        }
        public function trackItem():void{
            this.m_itemCount++;
        }
        public function endSession():void{
            var _local1:Number = getTimer();
            var _local2:Number = (_local1 - this.m_startTime);
            StatsManager.count("MarketSession", "time", "", "", "", "", _local2);
            StatsManager.count("MarketSession", "clicks", "", "", "", "", this.m_itemCount);
        }

    }
}//package Modules.stats.trackers 
